package fi.foyt.cs.oauth;

import org.restlet.data.Reference;
import org.restlet.representation.EmptyRepresentation;
import org.restlet.representation.Representation;
import org.restlet.resource.Get;
import org.restlet.resource.ServerResource;

public class LoginResource extends ServerResource {

  @Get("html")
  public Representation representation() {
    redirectTemporary(new Reference(getRootRef() + "/login_page"));
    
    return new EmptyRepresentation();
  }
}
